/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using Photo;
using Photo;
/// <summary>
/// Summary description for AlbumBL
/// </summary>
namespace Photo 
{
    public class AlbumBL 
    {
    	#region Private Variables
		AlbumDAL objAlbumDAL;
		#endregion
		
        #region Public Constructors
        public AlbumBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objAlbumDAL=new AlbumDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(AlbumDO objAlbumDO)
        {
            return objAlbumDAL.Insert(objAlbumDO);
        }

        public int Update(AlbumDO objAlbumDO)
        {
             return objAlbumDAL.Update(objAlbumDO);

        }

        public int Delete(AlbumDO objAlbumDO)
        {
             return objAlbumDAL.Delete(objAlbumDO);

        }

         public int DeleteAll()
        {
             return objAlbumDAL.DeleteAll();
        }

        public AlbumDO Select(AlbumDO objAlbumDO)
        {
            return objAlbumDAL.Select(objAlbumDO);
        }

        public ArrayList SelectAll1( )
        {
         return objAlbumDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objAlbumDAL.SelectAll();
        }


     
#endregion          
    
    }

}
